package com.sh.learn.extjs.service;

import java.util.List;
import java.util.Map;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.sh.common.page.QueryResult;
import com.sh.learn.extjs.domain.Employee;

public interface EmployeeService {

	public Employee get(Long id);

	public QueryResult<Employee> list(String scope, Object[] params);

	public QueryResult<Employee> page(String scope, Object[] params, int begin, int max);

	public Long add(Employee e) throws Exception;

	public void update(Employee e) throws Exception;

	public void remove(Long id) throws Exception;

}
